package cn.net.yugu.doraemon.datahub.annotation;

import java.lang.annotation.*;

/**
 * @description:
 * @author: wanghongli
 * @create: 2022-07-17 11:07:25
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataHubHandler {
    /**
     * 话题名称
     *
     * @return
     */
    String topicName();

    /**
     * shardId
     *
     * @return
     */
    String subId();
}
